# pigeon脚本
path=""

echo "$path"

case $1 in
common)
  path="pigeons/common.pigeon.dart"
  ;;
*)
  path=""
  ;;

esac

echo "$path"

if [ "$path" = "" ]; then
  echo "选择择你需要生成的bridge，如 ./pigeon.sh core"
  exit
fi

flutter pub run pigeon --input $path